<html>
<head>
	<script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAApSuNmBSTSB_i0nP0aSXuxxRi_j0U6kJrkFvY4-OX2XYmEAa76BTBHk-sILpvQbgl7iKYgP18fhKhbw"></script>
	<script type="text/javascript">

	google.load("feeds", "1");

	// When: Sat Nov 29, 2008 5pm to Sun Nov 30, 2008 8pm&nbsp; CET Where: Testolandia Event Status: confirmed
	// This is the contentSnippet element of an entry. We need to get out the 2 dates inside, Nov 29 2008 and Nov 30 2008.
	// A function to parse that string is needed.
	
	function initialize() {
		var feed = new google.feeds.Feed("http://www.google.com/calendar/feeds/ve1l60am17dk2s6jfaqcqgmvb8%40group.calendar.google.com/public/basic");
		feed.load(function(result) {
			if (!result.error) {
				var container = document.getElementById("feed");
				
				container.innerHTML += "Author: " + result.feed.author +"<br/>";
				container.innerHTML += "Calendar Title: " + result.feed.title+"<br/><br/>";
				
				for (var i = 0; i < result.feed.entries.length; i++) {
					var entry = result.feed.entries[i];
					var attributes = ["title", "publishedDate", "contentSnippet"];
					container.innerHTML += "<br/>"
					for (var j = 0; j < attributes.length; j++) {
						container.innerHTML += attributes[j] +": "+entry[attributes[j]]+"<br/>";
					}
				}

			}
		});
	}
	google.setOnLoadCallback(initialize);

	</script>
</head>
<body>
	<div id="feed"></div>
</body>
</html>